<ng-template
  [cdkPortalOutlet]="portal"
  (attached)="onAttach($event)"
></ng-template>
